package com.atmilan.quartz.model.entity.jky;

import java.io.Serializable;
import java.util.Date;

import com.atmilan.quartz.model.entity.im.ImProduct;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 吉客云商品映射
 * @Description: 
 * @author daigb
 * @date 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class JkyProduct extends Model<ImProduct> {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @JsonProperty(value = "goodsId")
    private String goodsId;

    @JsonProperty(value = "goodsNo")
    private String goodsNo;

    @JsonProperty(value = "goodsName")
    private String goodsName;

    @JsonProperty(value = "skuName")
    private String skuName;

    @JsonProperty(value = "skuId")
    private String skuId;

    @JsonProperty(value = "skuBarcode")
    private String skuBarcode;

    @JsonProperty(value = "unitName")
    private String unitName;

    @JsonProperty(value = "skuCode")
    private String skuCode;

    @JsonProperty(value = "cateId")
    private String cateId;

    @JsonProperty(value = "cateName")
    private String cateName;

    @JsonProperty(value = "brandId")
    private String brandId;

    @JsonProperty(value = "brandName")
    private String brandName;

    @JsonProperty(value = "goodsDesc")
    private String goodsDesc;

    @JsonProperty(value = "goodsAlias")
    private String goodsAlias;

    @JsonProperty(value = "imgUrlList")
    private String imgUrlList;

    @JsonProperty(value = "skuImgUrl")
    private String skuImgUrl;

    @JsonProperty(value = "skuIsBlockup")
    private String skuIsBlockup;

    @JsonProperty(value = "abcCate")
    private String abcCate;

    @TableField(exist = false)
    private String colorCode;

    private Date createTime;

}
